﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using socialnexus.classes.pages;

namespace socialnexus.masters
{
    public partial class Admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            adminMenu.Visible = (Session["admin"] != null);

            if (Request.FilePath.Contains("admin/Users/"))
                hlUsers.CssClass = "aciveAdminMenuItem";

            if(Request.FilePath.Contains("admin/Administrators/"))
                hlAdmins.CssClass = "aciveAdminMenuItem";
        }
    }
}
